package com.holdtime.jtt809.taxi.module.model.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - dms报警记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DmsAlarmPageReqVO extends PageParam {

    @Schema(description = "车牌号码")
    private String vehicleNo;

    @Schema(description = "车牌颜色")
    private String vehicleColor;

    @Schema(description = "报警信息来源")
    private String warnSrc;

    @Schema(description = "报警类型", example = "2")
    private String warnType;

    @Schema(description = "报警时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] warnTime;

    @Schema(description = "报警信息 ID", example = "4676")
    private String infoId;

    @Schema(description = "驾驶员姓名")
    private String driver;

    @Schema(description = "驾驶员驾照号码")
    private String driverNo;

    @Schema(description = "报警级别")
    private String level;

    @Schema(description = "经度")
    private String lon;

    @Schema(description = "纬度")
    private String lat;

    @Schema(description = "海拔高度")
    private String altitude;

    @Schema(description = "行车速度")
    private String vec1;

    @Schema(description = "行驶记录速度")
    private String vec2;

    @Schema(description = "报警状态", example = "1")
    private String status;

    @Schema(description = "方向")
    private String direction;

    @Schema(description = "报警信息内容")
    private String infoContent;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}